﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style x:Key="BlackListBox" TargetType="{x:Type ListBox}">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Foreground" Value="White"/>

        <Style.Resources>
            <!-- Background of selected item when focussed -->


            <DrawingBrush  x:Key="{x:Static SystemColors.HighlightBrushKey}">
                <DrawingBrush.Drawing>

                    <GeometryDrawing>

                        <GeometryDrawing.Brush>
                            <LinearGradientBrush  EndPoint="0.504,1.5" StartPoint="0.504,0.03">
                                <GradientStop Color="#a0b7dc" Offset="0"/>
                                <GradientStop Color="Transparent" Offset="0.3"/>
                            </LinearGradientBrush>
                        </GeometryDrawing.Brush>
                        <GeometryDrawing.Geometry>
                            <RectangleGeometry Rect="0,0,50,50" RadiusX="1" RadiusY="1"  />
                        </GeometryDrawing.Geometry>
                    </GeometryDrawing>
                </DrawingBrush.Drawing>
            </DrawingBrush>
            <DrawingBrush  x:Key="{x:Static SystemColors.ControlBrushKey}">
                <DrawingBrush.Drawing>

                    <GeometryDrawing>

                        <GeometryDrawing.Brush>
                            <LinearGradientBrush  EndPoint="0.504,1.5" StartPoint="0.504,0.03">
                                <GradientStop Color="#d8d5e2" Offset="0"/>
                                <GradientStop Color="#0a112c" Offset="0.567"/>
                            </LinearGradientBrush>
                        </GeometryDrawing.Brush>
                        <GeometryDrawing.Geometry>
                            <RectangleGeometry Rect="0,0,50,50" RadiusX="1" RadiusY="1"  />
                        </GeometryDrawing.Geometry>
                    </GeometryDrawing>
                </DrawingBrush.Drawing>
            </DrawingBrush>

            <!--<LinearGradientBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" EndPoint="0.504,1.5" StartPoint="0.504,0.03">
                    <GradientStop Color="#d8d5e2" Offset="0"/>
                    <GradientStop Color="#0a112c" Offset="0.567"/>
                </LinearGradientBrush>-->
            <!-- Background of selected item when not focussed -->

            <!--<LinearGradientBrush x:Key="{x:Static SystemColors.ControlBrushKey}" EndPoint="0.504,1.5" StartPoint="0.504,0.03">
                    <GradientStop Color="#d8d5e2" Offset="0"/>
                    <GradientStop Color="#050609" Offset="0.567"/>
                </LinearGradientBrush>-->
        </Style.Resources>
    </Style>
</ResourceDictionary>